// JavaScript Document
$(function(){
	
	
	// MENU - TRANG CHU --------------------------------
	$("ul.topnav li").click(function() { //When trigger is clicked...
		
		//Following events are applied to the subnav itself (moving subnav up and down)
		$(this).find("ul.subnav").slideDown('fast').show(); //Drop down the subnav on click
		
		$(this).hover(function() {
		}, function(){	
			$(this).find("ul.subnav").slideUp('slow'); //When the mouse hovers out of the subnav, move it back up
		});
		
	});
	
	// SAN PHAM NOI BAT - TRANG CHU --------------------------------
	$("#wrapper_contain .prod_hot ul li").mouseover(function(){
		$(this).find(".mask_pro").show();															  
	});
	$("#wrapper_contain .prod_hot ul li").mouseout(function(){
		$(this).find(".mask_pro").hide();															  
	});
});